﻿<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');


//$route['default_controller'] = "welcome";
$route['default_controller'] = "trangchu/index";
$route['404_override'] = '';

$route['auth/(:any)'] = "/auth_dict/get_user/$1";
$route['auth'] = "/auth_dict/index";


#Thêm mới từ điển
$route['addword'] = "/add_diction/addWord/";

#Upload từ mới
$route['upload'] = "/add_diction/index/";
$route['do_upload'] = "/add_diction/upload_ctrl/";

#Ckeditor
$route['ckeditor'] = "/Ckeditor/index/";

#Search Từ
$route['devi/(:any)'] = "/c_search/search/$1/devi";
$route['devi'] = "/c_search/index/devi";

$route['vide/(:any)'] = "/c_search/search/$1/vide";
$route['vide'] = "/c_search/index/vide";

$route['deen/(:any)'] = "/c_search/search/$1/deen";
$route['deen'] = "/c_search/index/deen";

$route['ende/(:any)'] = "/c_search/search/$1/ende";
$route['ende'] = "/c_search/index/deen";

$route['auto/(:any)'] = "/autocomplete/index/$1";

?>